package cn.tedu.egmybits2.mapper;

import cn.tedu.egmybits2.pojo.entity.Product;
import cn.tedu.egmybits2.pojo.vo.ProductVO1;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductMapper {
    int insertProduct(Product product);
    ProductVO1 selectSingleProduct(Integer id);
    int deleteProductById(Integer id);
    int dynamicUpdate(Product product);
    int dynamicDelete(List<Integer> ids);
    int selectCount();
}
